﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.RecordTable.FormClass
{
    /// <summary>
    /// 传感器变换器对应关系记录表
    /// </summary>
    public class TransducerConverter : FullAuditedEntity<Guid>
    {
        public TransducerConverter(Guid? techniqueEntityId, Guid? processesEntityId, Guid? workStepEntityId,int sort, int index, string dianLanShu, string bianHuanQi, string bianHuanQiCode, string bianHuanQiNumber, string dianLanShu2, string chuanGanQi, string chuanGanQiCode, string chuanGanQiNumber, bool isDuiYing)
        {
            TechniqueEntityId = techniqueEntityId;
            ProcessesEntityId = processesEntityId;
            WorkStepEntityId = workStepEntityId;
            Sort = sort;
            Index = index;
            DianLanShu = dianLanShu;
            BianHuanQi = bianHuanQi;
            BianHuanQiCode = bianHuanQiCode;
            BianHuanQiNumber = bianHuanQiNumber;
            DianLanShu2 = dianLanShu2;
            ChuanGanQi = chuanGanQi;
            ChuanGanQiCode = chuanGanQiCode;
            ChuanGanQiNumber = chuanGanQiNumber;
            IsDuiYing = isDuiYing;
        }

        public Guid? TechniqueEntityId { get; protected set; }
        public Guid? ProcessesEntityId { get; protected set; }
        public Guid? WorkStepEntityId { get; protected set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; protected set; }
        public int Index { get; protected set; }
        /// <summary>
        /// 电缆束
        /// </summary>
        public string DianLanShu { get; protected set; }
        /// <summary>
        /// 变换器插头座
        /// </summary>
        public string BianHuanQi { get; protected set; }
        /// <summary>
        /// 变换器代号
        /// </summary>
        public string BianHuanQiCode { get; protected set; }
        /// <summary>
        /// 变换器编号
        /// </summary>
        public string BianHuanQiNumber { get; protected set; }
        /// <summary>
        /// 电缆束
        /// </summary>
        public string DianLanShu2 { get; protected set; }
        /// <summary>
        /// 传感器插头座
        /// </summary>
        public string ChuanGanQi { get; protected set; }
        /// <summary>
        /// 传感器代号
        /// </summary>
        public string ChuanGanQiCode { get; protected set; }
        /// <summary>
        /// 传感器编号
        /// </summary>
        public string ChuanGanQiNumber { get; protected set; }
        /// <summary>
        /// 是否对应
        /// </summary>
        public bool IsDuiYing { get; protected set; }
        /// <summary>
        /// 三检
        /// </summary>
        public InspectionSignatureEntity InspectionSignatureEntity { get; protected set; }

        
    }
}
